<?php 
/**
* Name:  My Session
*
* Author: Ray Nowell
*
* Created:  10/26/2010
*
* Description:  Extends CI's Session 
*
*/
/**
 * Session Class Extension
 */
class MY_Session extends CI_Session
{
	/**
	 * Do not update an existing session on ajax calls
	 * http://codeigniter.com/forums/viewthread/94915/P15/
	 *
	 * @access    public
	 * @return    void
	 */
    function sess_update()
    {
		if ( ! IS_AJAX )
			parent::sess_update();
	}
}  

/* End of MY_Session.php */
/* Location: ./system/application/libraries/MY_Sontroller.php */

